using System;
using System.Collections.Generic;
using System.Text;

namespace DatabaseCode
{
  class HedMaker
  {
    public static string OutAddAndRemove(string[] inputData)
    {
      string ret = "";
      foreach (string str in inputData)
      {
        if (str.Length > 0)
        {
          ret += "  DataErrors Add(" + str + "& data);\r\n";
          ret += "  DataErrors Remove(" + str + "& data);\r\n";
        }
        else
        {
          ret += "\r\n";
        }
      }
      return ret;
    }
  }
}
